package com.itheima.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @Author lwx
 * @Date 2024/12/29 8:47
 */
@Data
@Component
@ConfigurationProperties(prefix = "stock.job")
public class StockJobProperties {

    private String adminAddress;

    private String accessToken;

    private String executorAddress;

    private String appname;

    private String executorIp;

    private int executorPort;

    private String loggingConfig;

    private String executorLogPath;

    private int executorRetentionDays;


}
